# to install to my local machine
CGIBIN=/usr/lib/cgi-bin
install:
	cp db.pl $(CGIBIN)
	cp db.conf $(CGIBIN)
	mkdir -p $(CGIBIN)/Try
	cp Try/Tiny.pm $(CGIBIN)/Try

# install to remote server
install-remote:
	lftp -c "open -u veganmilitia veganmilitia.org && cd cgi-bin && mput -c db.pl Try/Tiny.pm" 

# exception handling module
Try/Tiny.pm:
	wget http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Try-Tiny-0.06.tar.gz
	tar xvzf Try-Tiny-0.06.tar.gz 
	ln -s Try-Tiny-0.06/lib/Try .